package zxq.rollcall.course.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@ApiModel
@NoArgsConstructor
public class ResultDTO<T> {

    @ApiModelProperty("功能码")
    int code;
    @ApiModelProperty("返回信息")
    String msg;
    @ApiModelProperty("数据")
    T data;


}
